/* Reset & base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Tahoma, sans-serif;
}

body {
  background: #0b0d12;
  color: #eaeaf0;
  line-height: 1.6;
  padding-bottom: 60px;
}

/* Headings */
h1 {
  max-width: 900px;
  margin: 60px auto 16px;
  padding: 0 20px;
  font-size: 1.8rem;
  position: relative;
}

h1::after {
  content: "";
  display: block;
  width: 0;
  height: 3px;
  margin-top: 8px;
  background: linear-gradient(90deg, #6a5cff, #00c8ff);
  border-radius: 2px;
  animation: underlineGrow 0.6s ease forwards;
}

@keyframes underlineGrow {
  to {
    width: 60px;
  }
}


/* Card animation */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 24px;
  background: #151824;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);

  /* animation */
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards;
}

/* Slight delay for each card */
.container:nth-of-type(1) { animation-delay: 0.1s; }
.container:nth-of-type(2) { animation-delay: 0.2s; }
.container:nth-of-type(3) { animation-delay: 0.3s; }

/* Hover effect */
.container:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 20px 50px rgba(0, 200, 255, 0.15);
}

/* Keyframes */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Paragraphs */
.container p {
  color: #d6d7e2;
}

/* Lists */
ul {
  list-style: none;
  padding-left: 0;
}

li {
  margin: 8px 0;
}

/* Links */
a {
  color: #00c8ff;
  text-decoration: none;
  font-weight: 500;
}

a:hover {
  text-decoration: underline;
}
