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

body {
  font-family: "SF Pro Display", "Segoe UI", system-ui, -apple-system,
    sans-serif;
  background: #0a0a0a;
  color: #e8e8e8;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Animated Background */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 20% 80%,
      rgba(0, 150, 255, 0.03) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(255, 69, 0, 0.03) 0%,
      transparent 50%
    );
  z-index: -1;
}

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

/* Header */
header {
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(20px);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 150, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: #0096ff;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 0 20px rgba(0, 150, 255, 0.5);
}

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

.nav-links a {
  color: #b0b0b0;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #0096ff;
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: #0096ff;
  text-shadow: 0 0 10px rgba(0, 150, 255, 0.5);
}

.nav-links a:hover::after {
  width: 100%;
}

.atom-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90vh;
  height: 90vh;
  pointer-events: none;
  z-index: 0;
}

.nucleus {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  background: #ff4500;
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(255, 172, 142, 0.8);
  opacity: 0.7;
}

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px dashed rgba(0, 150, 255, 0.3);
  border-radius: 50%;
  animation: spin 10s linear infinite;
}

.orbit1 {
  width: 240px;
  height: 240px;
  animation-duration: 8s;
}
.orbit2 {
  width: 480px;
  height: 480px;
  animation-duration: 12s;
}
.orbit3 {
  width: 720px;
  height: 720px;
  animation-duration: 16s;
}
.orbit4 {
  width: 300px;
  height: 300px;
  animation-duration: 20s;
}

.electron {
  position: absolute;
  top: 0;
  left: 50%;
  width: 10px;
  height: 10px;
  background: #0096ff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 15px rgba(0, 150, 255, 0.7);
}

@keyframes spin {
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(
      135deg,
      rgba(0, 0, 0, 0.8) 0%,
      rgba(20, 20, 20, 0.6) 100%
    ),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23333" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  position: relative;
}

.hero-content h1 {
  font-size: 4.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
  color: #ffffff;
  text-shadow: 0 0 30px rgba(0, 150, 255, 0.3);
  letter-spacing: -2px;
  text-transform: uppercase;
}

.hero-content .subtitle {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: #0096ff;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.hero-content .description {
  font-size: 1.1rem;
  margin-bottom: 3rem;
  color: #888;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(135deg, #1a1a1a, #333);
  color: #0096ff;
  text-decoration: none;
  border: 2px solid #0096ff;
  border-radius: 2px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 150, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  background: #0096ff;
  color: #000;
  box-shadow: 0 0 30px rgba(0, 150, 255, 0.5);
  transform: translateY(-2px);
}

/* Section Styles */
.section {
  padding: 6rem 0;
  position: relative;
}

.section h2 {
  font-size: 3rem;
  margin-bottom: 4rem;
  text-align: center;
  color: #ffffff;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.section h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #0096ff, #ff4500);
  margin: 1rem auto;
}

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

.about-text p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #b0b0b0;
  line-height: 1.8;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.stat-item {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.6),
    rgba(26, 26, 26, 0.6)
  );
  border: 1px solid rgba(0, 150, 255, 0.2);
  border-radius: 2px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-item::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(0, 150, 255, 0.05),
    transparent
  );
  transform: rotate(45deg);
  transition: transform 0.5s ease;
}

.stat-item:hover::before {
  transform: rotate(45deg) translate(50%, 50%);
}

.stat-item:hover {
  border-color: #0096ff;
  box-shadow: 0 10px 30px rgba(0, 150, 255, 0.1);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: #0096ff;
  display: block;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: #888;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Experience Section */
.experience-item {
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.6),
    rgba(26, 26, 26, 0.6)
  );
  border: 1px solid rgba(0, 150, 255, 0.2);
  border-radius: 2px;
  padding: 2.5rem;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
  position: relative;
}

.experience-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, #0096ff, #ff4500);
  transition: width 0.3s ease;
}

.experience-item:hover::before {
  width: 6px;
}

.experience-item:hover {
  border-color: #0096ff;
  box-shadow: 0 15px 40px rgba(0, 150, 255, 0.1);
  transform: translateX(5px);
}

.experience-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.job-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.company {
  font-size: 1.1rem;
  color: #0096ff;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.duration {
  background: rgba(0, 150, 255, 0.1);
  border: 1px solid rgba(0, 150, 255, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 2px;
  font-size: 0.9rem;
  color: #0096ff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.experience-item ul {
  list-style: none;
  padding-left: 0;
}

.experience-item li {
  margin-bottom: 1rem;
  padding-left: 2rem;
  position: relative;
  color: #b0b0b0;
  line-height: 1.6;
}

.experience-item li:before {
  content: "→";
  position: absolute;
  left: 0;
  color: #0096ff;
  font-weight: bold;
}

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

.project-card {
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.6),
    rgba(26, 26, 26, 0.6)
  );
  border: 1px solid rgba(0, 150, 255, 0.2);
  border-radius: 2px;
  padding: 2.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.project-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(0, 150, 255, 0.1),
    rgba(255, 69, 0, 0.1)
  );
  transition: width 0.3s ease;
}

.project-card:hover::after {
  width: 4px;
}

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

.project-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.project-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-tag {
  background: rgba(0, 150, 255, 0.1);
  border: 1px solid rgba(0, 150, 255, 0.3);
  padding: 0.4rem 0.8rem;
  border-radius: 2px;
  font-size: 0.8rem;
  color: #0096ff;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

/* Skills Section */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.skill-category {
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.6),
    rgba(26, 26, 26, 0.6)
  );
  border: 1px solid rgba(0, 150, 255, 0.2);
  border-radius: 2px;
  padding: 2.5rem;
  transition: all 0.3s ease;
}

.skill-category:hover {
  border-color: #0096ff;
  box-shadow: 0 10px 30px rgba(0, 150, 255, 0.1);
}

.skill-category h3 {
  color: #ffffff;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}

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

.skill-item {
  background: rgba(255, 69, 0, 0.1);
  border: 1px solid rgba(255, 69, 0, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 2px;
  font-size: 0.9rem;
  color: #ff4500;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

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

.contact-content p {
  font-size: 1.1rem;
  color: #b0b0b0;
  margin-bottom: 3rem;
  line-height: 1.7;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.contact-link {
  display: inline-block;
  padding: 1rem 2rem;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.6),
    rgba(26, 26, 26, 0.6)
  );
  border: 1px solid rgba(0, 150, 255, 0.3);
  border-radius: 2px;
  color: #0096ff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.contact-link:hover {
  background: #0096ff;
  color: #000;
  box-shadow: 0 10px 30px rgba(0, 150, 255, 0.3);
  transform: translateY(-2px);
}

/* Footer */
footer {
  background: #000;
  text-align: center;
  padding: 2rem 0;
  color: #666;
  border-top: 1px solid #333;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content .subtitle {
    font-size: 1.2rem;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .experience-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-links {
    flex-direction: column;
    gap: 1rem;
  }

  .section h2 {
    font-size: 2rem;
  }
}

/* Subtle animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 0.8s ease-out;
}

/* Glitch effect for hero title */
.hero-content h1 {
  position: relative;
}

.hero-content h1::before {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: #0096ff;
  opacity: 0;
}

@keyframes glitch {
  0% {
    opacity: 0;
  }
  2% {
    opacity: 1;
    transform: translateX(2px);
  }
  4% {
    opacity: 0;
    transform: translateX(0);
  }
  100% {
    opacity: 0;
  }
}
