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

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: #ffffff;
  min-height: 100vh;
  color: #2d3436;
}

header {
  background: #ffffff;
  padding: 20px 5%;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-bottom: 2px solid #dfe6e9;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header > a {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  text-decoration: none;
}
header > a figure {
  width: 50px;
  height: 50px;
  background: #6c5ce7;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: all 0.1s;
}
header > a figure::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: #6c5ce7;
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}
header > a figure span {
  position: relative;
  z-index: 1;
  font-size: 24px;
  font-weight: bold;
  color: #ffffff;
  transition: all 0.1s;
  font-style: normal;
}
header > a h1 {
  font-size: 24px;
  color: #2d3436;
  transition: all 0.1s;
}
header > a:hover figure {
  transform: scale(1.1);
  box-shadow: 0 5px 20px rgba(108, 92, 231, 0.4);
}
header > a:hover figure::before {
  transform: translateX(0);
}
header > a:hover strong {
  letter-spacing: 2px;
  color: #6c5ce7;
}
header nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
header nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
}
header nav ul li a {
  color: #2d3436;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding: 5px 0;
  transition: all 0.1s;
  display: block;
}
header nav ul li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #6c5ce7;
  transition: width 0.3s ease;
}
header nav ul li a:hover {
  color: #6c5ce7;
}
header nav ul li a:hover::after {
  width: 100%;
}
header nav button {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
  padding: 5px;
}
header nav button span {
  display: block;
  width: 30px;
  height: 3px;
  background: #2d3436;
  border-radius: 3px;
  transition: all 0.1s;
}
header nav button[expanded] span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
  background: #6c5ce7;
}
header nav button[expanded] span:nth-child(2) {
  transform: rotate(-45deg);
  background: #6c5ce7;
}
header nav button[expanded] span:nth-child(3) {
  opacity: 0;
  transform: translateX(20px);
}

main {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 5%;
}
main > section:first-child {
  text-align: center;
  padding: 60px 30px;
  background: #f8f9fa;
  border-radius: 20px;
  margin-bottom: 50px;
}
main > section:first-child h1 {
  font-size: 3em;
  margin-bottom: 20px;
  color: #2d3436;
  animation: fadeInUp 1s ease;
}
main > section:first-child p {
  font-size: 1.2em;
  color: #2d3436;
  opacity: 0.8;
  animation: fadeInUp 1s ease 0.2s backwards;
}
main > section:last-child {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
main > section:last-child article {
  background: #ffffff;
  border-radius: 20px;
  padding: 30px;
  position: relative;
  transform-style: preserve-3d;
  transition: all 0.1s;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 2px solid #dfe6e9;
  animation: cardAppear 0.6s ease backwards;
}
main > section:last-child article::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #6c5ce7;
  border-radius: 20px;
  opacity: 0;
  transition: all 0.1s;
  z-index: -1;
}
main > section:last-child article:hover {
  transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  border-color: #6c5ce7;
}
main > section:last-child article:hover::before {
  opacity: 0.1;
}
main > section:last-child article figure {
  width: 60px;
  height: 60px;
  background: #6c5ce7;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin: 0 0 20px 0;
  animation: float 3s ease-in-out infinite;
}
main > section:last-child article h2 {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #2d3436;
}
main > section:last-child article p {
  color: #636e72;
  line-height: 1.6;
}
main > section:last-child article:nth-child(1) {
  animation-delay: 0.1s;
}
main > section:last-child article:nth-child(1) figure {
  animation-delay: 0s;
}
main > section:last-child article:nth-child(2) {
  animation-delay: 0.2s;
}
main > section:last-child article:nth-child(2) figure {
  animation-delay: 0.5s;
}
main > section:last-child article:nth-child(3) {
  animation-delay: 0.3s;
}
main > section:last-child article:nth-child(3) figure {
  animation-delay: 1s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
@keyframes cardAppear {
  from {
    opacity: 0;
    transform: translateY(50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@media (max-width: 768px) {
  header nav ul {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 70%;
    background: #ffffff;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.4s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  }
  header nav ul[data-active=true] {
    right: 0;
  }
  header nav ul li a {
    font-size: 1.2em;
    padding: 10px 0;
  }
  header nav button {
    display: flex;
  }
  main > section:first-child {
    padding: 40px 20px;
  }
  main > section:first-child h1 {
    font-size: 2em;
  }
  main > section:first-child p {
    font-size: 1em;
  }
  main > section:last-child {
    grid-template-columns: 1fr;
  }
}

/*# sourceMappingURL=style.css.map */
