body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #0f172a;
  color: #e2e8f0;
}

h1, h2, h3 {
  margin: 0;
}

section {
  padding: 80px 20px;
  max-width: 1000px;
  margin: auto;
}

.hero {
  text-align: center;
  padding-top: 120px;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
}

.hero p {
  margin-top: 10px;
  color: #94a3b8;
}

.btn {
  display: inline-block;
  margin-top: 25px;
  padding: 12px 24px;
  background: #38bdf8;
  color: black;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 500;
}

#projects h2,
#about h2,
#contact h2 {
  margin-bottom: 30px;
}

.card {
  background: linear-gradient(145deg, #1e293b, #111827);
  padding: 22px;
  border-radius: 14px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  border: 1px solid rgba(56, 189, 248, 0.1);
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-6px) scale(1.01);
  border: 1px solid #38bdf8;
  box-shadow: 0 10px 30px rgba(56, 189, 248, 0.15);
}

/* linha azul sutil animada */
.card::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 3px;
  background: #38bdf8;
  top: 0;
  left: -100%;
  transition: 0.4s;
}

.card:hover::before {
  left: 0;
}

.card p {
  color: #94a3b8;
  line-height: 1.5;
}

.card h3 {
  margin-bottom: 10px;
}

.card span {
  display: block;
  margin-top: 10px;
  color: #38bdf8;
  font-size: 0.85rem;
}

.card a {
  display: inline-block;
  margin-top: 15px;
  color: #38bdf8;
  text-decoration: none;
  font-weight: 500;
  transition: 0.2s;
}

.card a:hover {
  opacity: 0.8;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.box {
  background: #1e293b;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
}

.box a {
  color: #38bdf8;
  text-decoration: none;
}


#contact {
  text-align: center;
}

.contact-subtitle {
  margin-top: 10px;
  color: #94a3b8;
}

/* CONTAINER */
.contact-links {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

/* LINKS */
.contact-links a {
  font-size: 1rem;
  color: #38bdf8;
  text-decoration: none;
  transition: 0.3s;
}

/* HOVER */
.contact-links a:hover {
  opacity: 0.7;
}

/* DIVISOR */
.divider {
  color: #64748b;
}