@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
  font-family: 'Poppins', sans-serif;
}

.scroll-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease-out;
}

.scroll-left.ativado {
  opacity: 1;
  transform: translateX(0);
}

.scroll-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s ease-out;
}

.scroll-right.ativado {
  opacity: 1;
  transform: translateX(0);
}

.scroll-bottom {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.scroll-bottom.ativado {
  opacity: 1;
  transform: translateY(0);
}

.hero-bg {
  background: url("/assets/images/hero-section.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.btn-primary {
  background: #6EAEAD;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: #5a9fa0;
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(110, 174, 173, 0.3);
}

.btn-secondary {
  background: transparent;
  border: 2px solid #6EAEAD;
  color: #6EAEAD;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: #6EAEAD;
  color: white;
}

.card-hover {
  transition: all 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.gradient-section {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.navbar-sticky {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
  .mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  .mobile-menu.open {
    transform: translateX(0);
  }
}

/* Feature cards com cor fixa */
.feature-card-right {
  background: rgba(110, 174, 173, 0.15);
  border-radius: 20px;
  padding: 20px 24px;
  margin-left: auto;
  max-width: 85%;
}

.feature-card-left {
  background: rgba(110, 174, 173, 0.15);
  border-radius: 20px;
  padding: 20px 24px;
  margin-right: auto;
  max-width: 85%;
}


/* iPhone 14 Pro Style com Ilha Dinâmica */
.iphone-mockup {
  position: relative;
  width: 320px;
  height: 670px;
  background: #000;
  border-radius: 50px;
  padding: 12px;
  box-shadow:
    0 0 0 2px #1a1a1a,
    0 0 0 4px #2a2a2a,
    0 10px 40px rgba(0, 0, 0, 0.4),
    inset 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.iphone-screen {
  width: 100%;
  height: 100%;
  background: #000;
  border-radius: 40px;
  position: relative;
  overflow: hidden;
}

/* Ilha Dinâmica */
.dynamic-island {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 15px;
  background: #000;
  border-radius: 25px;
  z-index: 10;
  box-shadow: 
      0 0 0 4px #000,
      0 0 0 5px rgba(255, 255, 255, 0.1);
}

/* Imagem dentro da tela */
.iphone-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 40px;
}

/* Botões laterais */
.side-buttons {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Botão de energia */
.power-button {
  position: absolute;
  right: -12px;
  top: 180px;
  width: 4px;
  height: 90px;
  background: #2a2a2a;
  border-radius: 0 4px 4px 0;
  box-shadow: inset -1px 0 2px rgba(0, 0, 0, 0.5);
}

/* Botões de volume */
.volume-buttons {
  position: absolute;
  left: -12px;
}

.volume-up {
  position: absolute;
  top: 140px;
  width: 4px;
  height: 60px;
  background: #2a2a2a;
  border-radius: 4px 0 0 4px;
  box-shadow: inset 1px 0 2px rgba(0, 0, 0, 0.5);
}

.volume-down {
  position: absolute;
  top: 210px;
  width: 4px;
  height: 60px;
  background: #2a2a2a;
  border-radius: 4px 0 0 4px;
  box-shadow: inset 1px 0 2px rgba(0, 0, 0, 0.5);
}

/* Botão silencioso */
.silent-switch {
  position: absolute;
  left: -12px;
  top: 90px;
  width: 4px;
  height: 35px;
  background: #2a2a2a;
  border-radius: 4px 0 0 4px;
  box-shadow: inset 1px 0 2px rgba(0, 0, 0, 0.5);
}

/* Indicador home (barra inferior) */
.home-indicator {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 5px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
  z-index: 10;
}

/* Reflexo de luz na moldura */
.iphone-mockup::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  height: 50%;
  background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 50%
  );
  border-radius: 45px;
  pointer-events: none;
}

/* Ajuste responsivo */
@media (max-width: 768px) {
  .iphone-mockup {
    width: 320px;
    height: 650px;
    padding: 10px;
  }

  .iphone-screen {
    border-radius: 35px;
  }

  .iphone-content {
    border-radius: 35px;
  }

  .dynamic-island {
    width: 85px;
    height: 15px;
    top: 10px;
  }
}

.iphone-card-mockup {
  position: relative;
  width: 200px;
  height: 400px;
  background: #1a1a1a;
  border-radius: 30px;
  padding: 8px;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.3),
    inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.iphone-card-screen {
  width: 100%;
  height: 100%;
  background: #000;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
}

.iphone-card-content {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Notch simplificado para o iPhone no card */
.iphone-card-screen::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 20px;
  background: #1a1a1a;
  border-radius: 10px;
  z-index: 10;
}

/* Home indicator */
.iphone-card-screen::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  z-index: 10;
}

@media (max-width: 768px) {
  .iphone-card-mockup {
    width: 150px;
    height: 300px;
  }
}
