/* Welcome Page Styles */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

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

body {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  color: #2d3748;
  line-height: 1.6;
  overflow-x: hidden;
}

.welcome-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
}

.welcome-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 80%,
      rgba(120, 119, 198, 0.3) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(255, 119, 198, 0.3) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 40% 40%,
      rgba(120, 219, 255, 0.2) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.welcome-content {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 2.25rem;
  max-width: 780px;
  width: 100%;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.2);
  position: relative;
  z-index: 1;
}

.profile-section {
  text-align: center;
  margin-bottom: 3rem;
}

.profile-image {
  margin-bottom: 1.5rem;
}

.profile-image img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.profile-image img:hover {
  transform: scale(1.05);
}

.welcome-title {
  font-size: 3rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.welcome-subtitle {
  font-size: 1.2rem;
  color: #4a5568;
  font-weight: 400;
}

.portfolio-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.portfolio-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.portfolio-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.portfolio-card:hover::before {
  transform: scaleX(1);
}

.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.v1-card {
  border-left: 4px solid #3182ce;
}

.v2-card {
  border-left: 4px solid #9f7aea;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.card-header h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2d3748;
  margin: 0;
}

.version-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.v1-card .version-badge {
  background: #e6f3ff;
  color: #3182ce;
}

.v2-card .version-badge {
  background: #f3e8ff;
  color: #9f7aea;
}

.v2-card .version-badge.new {
  background: linear-gradient(135deg, #9f7aea 0%, #667eea 100%);
  color: white;
}

.card-content p {
  color: #4a5568;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.features-list {
  list-style: none;
  margin-bottom: 2rem;
}

.features-list li {
  padding: 0.5rem 0;
  color: #4a5568;
  position: relative;
  padding-left: 1.5rem;
}

.features-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #3182ce;
  font-weight: bold;
}

.v2-card .features-list li::before {
  color: #9f7aea;
}

.portfolio-btn {
  width: 100%;
  padding: 1rem 2rem;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.v1-btn {
  background: linear-gradient(135deg, #3182ce 0%, #2c5282 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(49, 130, 206, 0.3);
}

.v1-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(49, 130, 206, 0.4);
}

.v2-btn {
  background: linear-gradient(135deg, #9f7aea 0%, #667eea 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(159, 122, 234, 0.3);
}

.v2-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(159, 122, 234, 0.4);
}

.footer-info {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
}

.footer-info p {
  color: #4a5568;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-link {
  display: inline-block;
  padding: 0.75rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.social-link img {
  width: 24px;
  height: 24px;
  display: block;
}

.social-link svg {
  width: 24px;
  height: 24px;
  display: block;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .welcome-container {
    padding: 1rem;
  }

  .welcome-content {
    padding: 2rem;
  }

  .welcome-title {
    font-size: 2.5rem;
  }

  .portfolio-options {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .portfolio-card {
    padding: 1.5rem;
  }

  .card-header h2 {
    font-size: 1.25rem;
  }

  .features-list {
    margin-bottom: 1.5rem;
  }
}

@media screen and (max-width: 480px) {
  .welcome-content {
    padding: 1.5rem;
  }

  .welcome-title {
    font-size: 2rem;
  }

  .welcome-subtitle {
    font-size: 1rem;
  }

  .profile-image img {
    width: 100px;
    height: 100px;
  }

  .portfolio-card {
    padding: 1.25rem;
  }

  .card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .version-badge {
    align-self: flex-end;
  }
}

/* Animation for page load */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.welcome-content {
  animation: fadeInUp 0.8s ease-out;
}

.portfolio-card {
  animation: fadeInUp 0.8s ease-out;
}

.portfolio-card:nth-child(2) {
  animation-delay: 0.2s;
}

/* Hover effects for better interactivity */
.portfolio-card {
  position: relative;
}

.portfolio-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.05) 0%,
    rgba(118, 75, 162, 0.05) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.portfolio-card:hover::after {
  opacity: 1;
}
