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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(15, 15, 35, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #00D9FF;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #00D9FF;
}

.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  z-index: 2;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, #ffffff, #00D9FF);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero .subtitle {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  color: #00D9FF;
  margin-bottom: 1.5rem;
  font-weight: 500;
  min-height: 2.2rem;
  display: inline-block;
  white-space: nowrap;
}

.hero .description {
  font-size: 1.1rem;
  color: #b0b0b0;
  max-width: 600px;
  margin-bottom: 2rem;
}

.cta-button {
  display: inline-block;
  background: linear-gradient(45deg, #00D9FF, #0099CC);
  color: #ffffff;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 217, 255, 0.3);
  cursor: pointer;
  position: relative;
  z-index: 5;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 217, 255, 0.4);
}

.cta-button:active {
  transform: translateY(0);
}

.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.particle {
  position: absolute;
  background: #00D9FF;
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
  pointer-events: none;
}

.particle:nth-child(1) {
  width: 4px;
  height: 4px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.particle:nth-child(2) {
  width: 6px;
  height: 6px;
  top: 60%;
  left: 80%;
  animation-delay: 2s;
}

.particle:nth-child(3) {
  width: 3px;
  height: 3px;
  top: 80%;
  left: 20%;
  animation-delay: 4s;
}

.particle:nth-child(4) {
  width: 5px;
  height: 5px;
  top: 30%;
  left: 70%;
  animation-delay: 1s;
}

.particle:nth-child(5) {
  width: 4px;
  height: 4px;
  top: 70%;
  left: 60%;
  animation-delay: 3s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0);
    opacity: 1;
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
    opacity: 0.8;
  }
}

section {
  padding: 6rem 0;
  scroll-margin-top: 100px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: #00D9FF;
}

.about {
  background: rgba(26, 26, 46, 0.5);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: center;
}

.about-text {
  font-size: 1.1rem;
  color: #b0b0b0;
}

.about-text p {
  margin-bottom: 1.5rem;
}

.profile-image {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: linear-gradient(45deg, #00D9FF, #0099CC);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: #0f0f23;
  font-weight: bold;
  margin: 0 auto;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.skill-category {
  background: rgba(26, 26, 46, 0.6);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid rgba(0, 217, 255, 0.1);
  transition: all 0.3s ease;
}

.skill-category:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 217, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0, 217, 255, 0.1);
}

.skill-category h3 {
  color: #00D9FF;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-tag {
  background: rgba(0, 217, 255, 0.1);
  color: #00D9FF;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

.projects {
  background: rgba(26, 26, 46, 0.5);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.project-card {
  background: rgba(26, 26, 46, 0.8);
  border-radius: 15px;
  padding: 2rem;
  border: 1px solid rgba(0, 217, 255, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 217, 255, 0.3);
  box-shadow: 0 15px 40px rgba(0, 217, 255, 0.1);
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(45deg, #00D9FF, #0099CC);
}

.project-title {
  color: #00D9FF;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.project-description {
  color: #b0b0b0;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tech-tag {
  background: rgba(0, 217, 255, 0.2);
  color: #00D9FF;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
}

.project-links {
  display: flex;
  gap: 1rem;
}

.project-link {
  color: #00D9FF;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.project-link:hover {
  color: #ffffff;
}

.contact-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.contact-item {
  background: rgba(26, 26, 46, 0.6);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid rgba(0, 217, 255, 0.1);
  transition: all 0.3s ease;
}

.contact-item:hover {
  border-color: rgba(0, 217, 255, 0.3);
  transform: translateY(-2px);
}

.contact-item h3 {
  color: #00D9FF;
  margin-bottom: 0.5rem;
}

.contact-item a {
  color: #b0b0b0;
  text-decoration: none;
}

.contact-item a:hover {
  color: #00D9FF;
}

footer {
  background: rgba(15, 15, 35, 0.9);
  padding: 2rem 0;
  text-align: center;
  color: #b0b0b0;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .container {
    padding: 0 1rem;
  }
  section {
    padding: 4rem 0;
  }
}
