* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
  color: #fff;
  min-height: 100vh;
  overflow-x: hidden;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 5%;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
  background: rgba(15, 12, 41, 0.8);
  backdrop-filter: blur(10px);
}

nav h1 {
  font-size: 1.8rem;
  background: linear-gradient(45deg, #00d4ff, #0099ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  text-decoration: none;
  color: #fff;
  transition: all 0.3s;
  font-weight: 500;
}

nav a:hover {
  color: #00d4ff;
  transform: translateY(-2px);
}

.hero {
  margin-top: 80px;
  padding: 8rem 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 90vh;
}

.hero-text h2 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-text p {
  font-size: 1.2rem;
  color: #b0b0b0;
  margin-bottom: 2rem;
  max-width: 500px;
}

.cta-button {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(45deg, #00d4ff, #0099ff);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  transition: all 0.3s;
  box-shadow: 0 10px 25px rgba(0, 212, 255, 0.3);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 212, 255, 0.5);
}

.hero-visual {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, #00d4ff, #0099ff);
  border-radius: 20px;
  position: relative;
  animation: float 3s ease-in-out infinite;
  box-shadow: 0 20px 60px rgba(0, 212, 255, 0.3);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

.projects {
  padding: 5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.project-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid rgba(0, 212, 255, 0.3);
  transition: all 0.3s;
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-10px);
  border-color: #00d4ff;
  box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
}

.project-card h3 {
  color: #00d4ff;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.project-card p {
  color: #b0b0b0;
  line-height: 1.6;
}

.project-tags {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.tag {
  background: rgba(0, 212, 255, 0.2);
  color: #00d4ff;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
}

footer {
  text-align: center;
  padding: 3rem;
  color: #b0b0b0;
  border-top: 1px solid rgba(0, 212, 255, 0.2);
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-text h2 {
    font-size: 2rem;
  }

  .hero-visual {
    width: 250px;
    height: 250px;
  }

  nav ul {
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  nav {
    padding: 1rem 4%;
    align-items: flex-start;
  }

  nav h1 {
    font-size: 1.2rem;
  }

  nav ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.6rem;
  }

  .hero {
    margin-top: 70px;
    padding: 4rem 5%;
    min-height: auto;
  }

  .hero-text h2 {
    font-size: 1.8rem;
  }

  .hero-text p {
    font-size: 1rem;
    max-width: 100%;
  }

  .cta-button {
    padding: 10px 18px;
    width: 100%;
    box-shadow: none;
  }

  .hero-visual {
    width: 200px;
    height: 200px;
    margin-top: 1.5rem;
  }

  .projects {
    padding: 2rem 1.5rem;
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .project-card {
    padding: 1rem;
    border-radius: 12px;
  }

  .project-card h3 {
    font-size: 1.1rem;
  }

  footer {
    padding: 2rem 1.5rem;
  }

  .project-link {
    display: block;
    text-decoration: none;
    color: inherit;
  }
}
