:root {
  /* Color Palette */
  --bg-color: #0a0a0a;
  --card-bg: rgba(255, 255, 255, 0.03);
  --card-border: rgba(255, 255, 255, 0.05);
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --accent-primary: #00f2ff; /* Cyan */
  --accent-secondary: #7000ff; /* Purple */
  --accent-tertiary: #ff0055; /* Pink */
  --gradient-main: linear-gradient(
    135deg,
    var(--accent-primary),
    var(--accent-secondary)
  );
  --glass-shine: rgba(255, 255, 255, 0.1);

  /* Typography */
  --font-heading: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;

  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1200px;

  /* Transitions */
  --transition-fast: 0.3s ease;
  --transition-smooth: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-weight: 700;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin: 0 auto 60px;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  display: table;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--gradient-main);
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-main);
  color: white;
  border: none;
  box-shadow: 0 0 20px rgba(0, 242, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 242, 255, 0.5);
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--accent-primary);
  color: var(--accent-primary);
}

.btn-secondary:hover {
  background: rgba(0, 242, 255, 0.1);
  transform: translateY(-2px);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 1000;
  transition: var(--transition-fast);
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--card-border);
  padding: 15px 0;
}

.nav-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-menu {
  display: flex;
  gap: 30px;
}

.nav-link {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-primary);
  transition: var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-primary);
  margin: 5px 0;
  transition: var(--transition-fast);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 160px;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
  animation: float 10s infinite ease-in-out;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: var(--accent-primary);
  top: -100px;
  left: -100px;
  animation-delay: 0s;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: var(--accent-secondary);
  bottom: -100px;
  right: -100px;
  animation-delay: 2s;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: var(--accent-tertiary);
  top: 40%;
  left: 40%;
  animation-delay: 4s;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(30px, -30px);
  }
}

.hero-content {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.hero-text {
  flex: 1;
  text-align: left;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-image img {
  width: 400px;
  height: 400px;
  object-fit: cover;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 40px rgba(0, 242, 255, 0.2);
  animation: morph 8s ease-in-out infinite;
  transition: var(--transition-smooth);
}

.hero-image:hover img {
  transform: scale(1.05);
  box-shadow: 0 0 60px rgba(112, 0, 255, 0.4);
  border-color: var(--accent-primary);
}

@keyframes morph {
  0% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
  50% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }
  100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
}

.hero-greeting {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--accent-primary);
  margin-bottom: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-name {
  font-size: 5rem;
  line-height: 1.1;
  margin-bottom: 10px;
  background: linear-gradient(to right, #fff, #a1a1aa);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title {
  font-size: 2rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
  font-weight: 400;
}

.hero-description {
  max-width: 700px;
  margin: 0 auto 40px;
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.hero-cta {
  display: flex;
  gap: 20px;
  justify-content: flex-start;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  justify-content: flex-start;
  gap: 60px;
  margin-top: 40px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid var(--card-border);
  display: inline-flex;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-heading);
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
}

.mouse {
  width: 30px;
  height: 50px;
  border: 2px solid var(--text-secondary);
  border-radius: 15px;
  position: relative;
}

.mouse::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background-color: var(--accent-primary);
  border-radius: 2px;
  animation: scroll 2s infinite;
}

@keyframes scroll {
  0% {
    top: 10px;
    opacity: 1;
  }
  100% {
    top: 30px;
    opacity: 0;
  }
}

/* About Section */
.about {
  padding: var(--section-padding);
  background: #0d0d0d;
}

.about-content {
  display: flex;
  justify-content: center;
}

.about-text {
  max-width: 900px;
  text-align: center;
}

.about-intro {
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-bottom: 30px;
  line-height: 1.8;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.about-text strong {
  color: var(--accent-primary);
}

.about-highlights {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.highlight-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 15px 25px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition-fast);
}

.highlight-item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-5px);
  border-color: var(--accent-primary);
}

.highlight-icon {
  font-size: 1.2rem;
}

.highlight-text {
  font-weight: 600;
  color: var(--text-primary);
}

/* Skills Section */
.skills {
  padding: var(--section-padding);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.skill-category {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 30px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.skill-category::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at top right,
    rgba(0, 242, 255, 0.1),
    transparent 50%
  );
  opacity: 0;
  transition: var(--transition-smooth);
}

.skill-category:hover {
  transform: translateY(-10px);
  border-color: rgba(0, 242, 255, 0.3);
}

.skill-category:hover::before {
  opacity: 1;
}

.category-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
  position: relative;
  z-index: 1;
}

.category-icon {
  font-size: 2rem;
  background: rgba(255, 255, 255, 0.05);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.skill-category h3 {
  font-size: 1.3rem;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.skill-tag {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.skill-category:hover .skill-tag {
  background: rgba(0, 242, 255, 0.1);
  color: var(--text-primary);
}

/* Projects Section */
.projects {
  padding: var(--section-padding);
  background: #0d0d0d;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.project-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 35px;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.project-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: var(--accent-secondary);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.project-header h3 {
  font-size: 1.5rem;
  max-width: 70%;
}

.project-badge {
  background: linear-gradient(
    135deg,
    var(--accent-primary),
    var(--accent-secondary)
  );
  color: white;
  padding: 5px 12px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.project-description {
  color: var(--text-secondary);
  margin-bottom: 25px;
  flex-grow: 1;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.tech-tag {
  font-size: 0.85rem;
  color: var(--accent-primary);
  font-family: var(--font-heading);
  font-weight: 500;
}

.tech-tag::before {
  content: "#";
  margin-right: 2px;
  opacity: 0.6;
}

/* Experience Section */
.experience {
  padding: var(--section-padding);
}

.timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20px;
  height: 100%;
  width: 2px;
  background: rgba(255, 255, 255, 0.1);
}

.timeline-item {
  margin-bottom: 60px;
  padding-left: 60px;
  position: relative;
}

.timeline-marker {
  position: absolute;
  left: 11px;
  top: 0;
  width: 20px;
  height: 20px;
  background: var(--bg-color);
  border: 4px solid var(--accent-primary);
  border-radius: 50%;
  z-index: 1;
  transition: var(--transition-fast);
}

.timeline-item:hover .timeline-marker {
  background: var(--accent-primary);
  box-shadow: 0 0 20px var(--accent-primary);
}

.timeline-content {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 30px;
  transition: var(--transition-fast);
}

.timeline-item:hover .timeline-content {
  border-color: var(--accent-primary);
  transform: translateX(10px);
}

.timeline-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.timeline-header h3 {
  font-size: 1.4rem;
  color: var(--text-primary);
}

.company {
  color: var(--accent-primary);
  font-weight: 600;
}

.duration {
  margin-left: auto;
  color: var(--text-secondary);
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 5px 12px;
  border-radius: 15px;
}

.experience-highlights {
  list-style-type: disc;
  padding-left: 20px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.experience-highlights li {
  margin-bottom: 10px;
}

.experience-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Research Section */
.research {
  padding: var(--section-padding);
  background: #0d0d0d;
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.research-card {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.03) 0%,
    rgba(255, 255, 255, 0.01) 100%
  );
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  transition: var(--transition-smooth);
}

.research-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent-tertiary);
}

.research-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: inline-block;
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.1));
}

.research-card h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.research-card p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.research-areas {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.area-tag {
  font-size: 0.8rem;
  padding: 4px 10px;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  color: var(--text-secondary);
}

/* Contact Section */
.contact {
  padding: var(--section-padding);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-intro {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--card-bg);
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--card-border);
  transition: var(--transition-fast);
}

.contact-method:hover {
  border-color: var(--accent-primary);
  transform: translateX(10px);
}

.method-icon {
  font-size: 1.8rem;
  background: rgba(255, 255, 255, 0.05);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.method-details h4 {
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.method-details a,
.method-details p {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.contact-form {
  background: var(--card-bg);
  padding: 40px;
  border-radius: 24px;
  border: 1px solid var(--card-border);
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  background: rgba(0, 0, 0, 0.5);
}

/* Footer */
.footer {
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid var(--card-border);
  background: #050505;
}

.footer p {
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.footer-tagline {
  font-family: var(--font-heading);
  color: var(--accent-primary) !important;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero-name {
    font-size: 3.5rem;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: 150px;
    height: auto;
    min-height: 100vh;
  }

  .hero-content {
    padding-bottom: 60px;
    flex-direction: column-reverse;
    text-align: center;
    gap: 40px;
  }

  .hero-text {
    text-align: center;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-image img {
    width: 280px;
    height: 280px;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    padding-top: 60px;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-link {
    font-size: 1.4rem;
    margin: 15px 0;
  }

  .hero-name {
    font-size: 2.5rem;
  }

  .hero-title {
    font-size: 1.2rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    margin-top: 30px;
    width: 100%;
  }

  .section-title {
    font-size: 1.8rem;
    margin-bottom: 40px;
    width: fit-content;
  }

  .project-header {
    flex-direction: column;
    gap: 10px;
  }

  .project-header h3 {
    max-width: 100%;
  }

  .contact-content {
    gap: 40px;
  }

  .contact-form {
    padding: 25px;
  }
}

@media (max-width: 480px) {
  .hero-name {
    font-size: 2rem;
  }

  .btn {
    padding: 10px 20px;
    font-size: 0.8rem;
  }
}
