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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.app {
  min-height: 100vh;
  background: linear-gradient(135deg, #0f172a 0%, #581c87 50%, #0f172a 100%);
  color: white;
}

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

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 50;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  background: linear-gradient(to right, #6b46c1, #ec4899);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.nav-desktop {
  display: none;
  gap: 2rem;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-item {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0.5rem 0;
  position: relative;
}

.nav-item:hover {
  color: #6b46c1;
}

.nav-item-active {
  color: #6b46c1;
}

.nav-item-active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #6b46c1;
}

.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

.nav-mobile {
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(16px);
}

.nav-mobile-content {
  padding: 0.5rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nav-mobile-item {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  padding: 0.5rem 0;
  text-align: left;
  transition: color 0.3s ease;
}

.nav-mobile-item:hover,
.nav-mobile-item-active {
  color: #6b46c1;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(107, 70, 193, 0.2), rgba(219, 39, 119, 0.2));
}

.hero-content {
  text-align: center;
  z-index: 10;
  padding: 0 1rem;
}

.hero-text {
  margin-bottom: 2rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
  background: linear-gradient(to right, #6b46c1, #4338ca, #6b46c1);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.5rem;
  }
}

.hero-description {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 42rem;
  margin: 0 auto;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.btn-primary {
  padding: 0.75rem 2rem;
  background: linear-gradient(to right, #6b46c1, #ec4899);
  border: none;
  border-radius: 9999px;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  transform: scale(1);
}

.btn-primary:hover {
  background: linear-gradient(to right, #553c9a, #db2777);
  transform: scale(1.05);
}

.btn-secondary {
  padding: 0.75rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 9999px;
  background: transparent;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Section Styles */
.about-section,
.projects-section {
  padding: 5rem 0;
}

.experience-section,
.contact-section {
  padding: 5rem 0;
  background: rgba(0, 0, 0, 0.2);
}

.section-title {
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 4rem;
  background: linear-gradient(to right, #6b46c1, #ec4899);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.subsection-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

/* About Section */
.about-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.about-image {
  position: relative;
}

.image-wrapper {
  width: 20rem;
  height: 20rem;
  margin: 0 auto;
  background: linear-gradient(135deg, #6b46c1, #ec4899);
  border-radius: 50%;
  padding: 4px;
}

.image-border {
  width: 100%;
  height: 100%;
  background: #1e293b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-image {
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  object-fit: cover;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-text {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

.info-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  border-radius: 0.75rem;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.info-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.info-card-text {
  color: rgba(255, 255, 255, 0.8);
}

.icon {
  color: #6b46c1;
}

.icon-small {
  color: #6b46c1;
  margin-top: 0.25rem;
}

.education-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.education-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.education-degree {
  font-weight: 500;
}

.education-institution,
.education-university {
  color: rgba(255, 255, 255, 0.6);
}

.education-year {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Experience Section */
.experience-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .experience-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.experience-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.experience-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  border-radius: 0.75rem;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.experience-card:hover {
  border-color: rgba(107, 70, 193, 0.5);
}

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

.experience-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #6b46c1;
}

.experience-date {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.experience-company {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.5rem;
}

.experience-description {
  color: rgba(255, 255, 255, 0.8);
}

/* Skills */
.skills-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.skill-category-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #6b46c1;
}

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

.skill-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  border-radius: 0.5rem;
  padding: 0.75rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.skill-item:hover {
  border-color: rgba(107, 70, 193, 0.5);
}

/* Projects Section */
.projects-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.project-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  border-radius: 0.75rem;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.project-card:hover {
  border-color: rgba(107, 70, 193, 0.5);
}

.project-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #6b46c1;
  transition: color 0.3s ease;
}

.project-card:hover .project-title {
  color: #ec4899;
}

.project-description {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
  line-height: 1.6;
}

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

.tech-tag {
  padding: 0.25rem 0.5rem;
  background: rgba(107, 70, 193, 0.3);
  border-radius: 0.375rem;
  font-size: 0.875rem;
  color: #c084fc;
}

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

.project-link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.project-link:hover {
  color: #6b46c1;
}

/* Contact Section */
.contact-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

.interest-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  border-radius: 0.75rem;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  transition: all 0.3s ease;
}

.interest-card:hover {
  border-color: rgba(107, 70, 193, 0.5);
}

.interest-icon {
  margin: 0 auto 0.75rem;
  color: #6b46c1;
  transition: color 0.3s ease;
}

.interest-card:hover .interest-icon {
  color: #ec4899;
}

.interest-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.interest-desc {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

.connect-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.connect-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.125rem;
  line-height: 1.7;
}

.contact-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  border-radius: 0.75rem;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-card-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

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

.contact-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: #6b46c1;
}

.contact-icon {
  color: #6b46c1;
}

.quote-card {
  background: linear-gradient(to right, rgba(107, 70, 193, 0.2), rgba(219, 39, 119, 0.2));
  border-radius: 0.75rem;
  padding: 1.5rem;
  border: 1px solid rgba(107, 70, 193, 0.3);
}

.quote-text {
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.quote-author {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

/* Footer */
.footer {
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-text {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 640px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .interests-grid {
    grid-template-columns: 1fr;
  }
  
  .skills-grid {
    grid-template-columns: 1fr;
  }
}