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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #fafafa;
  min-height: 100vh;
  padding: 80px 0 40px 0;
  color: #1a1a1a;
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top Navigation */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: white;
  padding: 16px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e5e5e5;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95);
}

.nav-left {
  display: flex;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.logo-link:hover {
  opacity: 0.7;
}

.logo-icon {
  font-size: 1.5em;
}

.logo-text {
  font-size: 1.3em;
  font-weight: 600;
  color: #1a1a1a;
  letter-spacing: -0.02em;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.nav-user-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #e5e5e5;
  transition: border-color 0.2s ease;
}

.nav-avatar:hover {
  border-color: #1a1a1a;
}

.nav-username {
  color: #1a1a1a;
  font-weight: 500;
  font-size: 0.95em;
}

.nav-logout {
  color: #666;
  text-decoration: none;
  padding: 6px 14px;
  background: transparent;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.2s ease;
  font-size: 0.9em;
}

.nav-logout:hover {
  background: #fafafa;
  border-color: #1a1a1a;
  color: #1a1a1a;
}

/* Landing Page */
.landing-hero {
  text-align: center;
  padding: 80px 20px 60px;
  max-width: 800px;
  margin: 0 auto;
}

.landing-hero h1 {
  font-size: 3.5em;
  margin-bottom: 24px;
  color: #1a1a1a;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.landing-tagline {
  font-size: 1.3em;
  color: #666;
  margin-bottom: 40px;
  line-height: 1.5;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn-large {
  padding: 16px 32px;
  font-size: 1.1em;
}

.landing-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 60px 0;
}

.landing-section {
  margin: 60px 0;
}

.landing-section h2 {
  font-size: 1.8em;
  margin-bottom: 32px;
  color: #1a1a1a;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.loading-placeholder {
  text-align: center;
  padding: 40px;
  color: #999;
  font-size: 0.95em;
}

/* Old Hero Section (kept for compatibility) */
.hero {
  background: white;
  border-radius: 12px;
  padding: 80px 40px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e5e5;
}

.hero h1 {
  font-size: 3em;
  margin-bottom: 16px;
  color: #1a1a1a;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.tagline {
  font-size: 1.2em;
  color: #666;
  margin-bottom: 48px;
  font-weight: 400;
}

.feature-list {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.feature {
  flex: 1;
  min-width: 200px;
  max-width: 250px;
}

.feature .emoji {
  font-size: 2.5em;
  display: block;
  margin-bottom: 10px;
}

.feature p {
  color: #666;
  font-size: 0.95em;
}

/* Buttons */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 1em;
  font-weight: 500;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-primary {
  background: #1a1a1a;
  color: white;
}

.btn-primary:hover {
  background: #333;
}

.btn-secondary {
  background: white;
  color: #1a1a1a;
  border: 1px solid #e5e5e5;
}

.btn-secondary:hover {
  background: #fafafa;
  border-color: #1a1a1a;
}

.privacy-note {
  margin-top: 30px;
  font-size: 0.85em;
  color: #999;
}

/* Dashboard */
.dashboard {
  background: white;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e5e5;
  min-height: 500px;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 2px solid #f6f8fa;
}

.header h1 {
  font-size: 1.8em;
  color: #1a1a1a;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.user-info span {
  font-weight: 600;
  color: #24292e;
}

.logout {
  color: #666;
  text-decoration: none;
  font-size: 0.9em;
}

.logout:hover {
  color: #1a1a1a;
}

/* Loading */
.loading {
  text-align: center;
  padding: 80px 20px;
}

.loading p {
  font-size: 1.2em;
  color: #1a1a1a;
  font-weight: 500;
  margin-bottom: 10px;
}

.loading-subtext {
  font-size: 1em !important;
  color: #999 !important;
  font-weight: 400 !important;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.stat-card {
  background: #fafafa;
  color: #1a1a1a;
  padding: 32px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid #e5e5e5;
  transition: all 0.2s ease;
}

.stat-card:hover {
  border-color: #d0d0d0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.stat-number {
  display: block;
  font-size: 3em;
  font-weight: 700;
  margin-bottom: 5px;
}

.stat-label {
  display: block;
  font-size: 0.9em;
  opacity: 0.9;
}

/* Tech Stack */
.tech-stack h2 {
  font-size: 1.8em;
  margin-bottom: 24px;
  color: #1a1a1a;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.95em;
  font-weight: 500;
  transition: all 0.2s ease;
  border: 1px solid;
}

.tech-tag-gray {
  background: #fafafa;
  color: #1a1a1a;
  border-color: #e5e5e5;
}

.tech-tag-gray:hover {
  background: white;
  border-color: #1a1a1a;
}

.tech-tag-blue {
  background: #eff6ff;
  color: #1e40af;
  border-color: #bfdbfe;
}

.tech-tag-blue:hover {
  background: #dbeafe;
  border-color: #3b82f6;
}

.tech-tag-green {
  background: #f0fdf4;
  color: #15803d;
  border-color: #bbf7d0;
}

.tech-tag-green:hover {
  background: #dcfce7;
  border-color: #22c55e;
}

.tech-tag-count {
  font-size: 0.85em;
  opacity: 0.7;
}

.section {
  margin-bottom: 40px;
}

.section h3 {
  font-size: 1.2em;
  color: #666;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f6f8fa;
}

.tech-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.tech-item {
  background: #fafafa;
  padding: 16px 20px;
  border-radius: 8px;
  border: 1px solid #e5e5e5;
  transition: all 0.2s ease;
}

.tech-item:hover {
  border-color: #d0d0d0;
  background: white;
}

.tech-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.tech-name {
  font-weight: 500;
  color: #1a1a1a;
  font-size: 1em;
}

.tech-count {
  color: #666;
  font-size: 0.9em;
  font-weight: 400;
}

.tech-bar {
  width: 100%;
  height: 4px;
  background: #e5e5e5;
  border-radius: 2px;
  overflow: hidden;
}

.tech-bar-fill {
  height: 100%;
  background: #1a1a1a;
  border-radius: 2px;
  transition: width 0.5s ease;
}

/* Profile Header */
.profile-header {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 32px;
  margin-bottom: 32px;
  background: #fafafa;
  border-radius: 12px;
  color: #1a1a1a;
  border: 1px solid #e5e5e5;
}

.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid #e5e5e5;
  transition: all 0.2s ease;
}

/* User Type Indicators */
.profile-avatar.authenticated {
  border-color: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.1);
}

.profile-avatar.scanned {
  border-color: #f59e0b;
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.1);
}

.profile-avatar.unscanned {
  border-color: #9ca3af;
  box-shadow: none;
}

.profile-info h2 {
  font-size: 1.8em;
  margin-bottom: 10px;
}

/* GitHub Icon Link */
.github-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #666;
  text-decoration: none;
  transition: all 0.2s ease;
  padding: 4px;
  border-radius: 4px;
}

.github-icon-link:hover {
  color: #1a1a1a;
  background: #f5f5f5;
}

.profile-stats {
  display: flex;
  gap: 10px;
  font-size: 1.1em;
  opacity: 0.95;
}

/* Profile Section */
.profile-section {
  margin-bottom: 30px;
  padding: 20px;
  background: #f6f8fa;
  border-radius: 10px;
}

.location-display {
  display: flex;
  align-items: center;
  gap: 15px;
}

.location-display span {
  font-size: 1.1em;
  color: #24292e;
}

.edit-btn {
  padding: 5px 15px;
  background: white;
  border: 1px solid #d0d7de;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9em;
  transition: all 0.2s ease;
}

.edit-btn:hover {
  background: #fafafa;
  border-color: #1a1a1a;
}

.location-edit {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
}

.location-edit input {
  flex: 1;
  padding: 10px;
  border: 1px solid #d0d7de;
  border-radius: 6px;
  font-size: 1em;
}

.location-cloud {
  margin-top: 12px;
  padding: 16px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
}

.location-tag {
  cursor: pointer;
  transition: all 0.2s ease;
}

.location-tag:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Repositories */
.repo-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.repo-item {
  background: #fafafa;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #e5e5e5;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 140px;
}

.repo-item:hover {
  border-color: #d0d0d0;
  background: white;
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.repo-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 8px;
  flex-grow: 1;
}

.repo-name {
  font-weight: 500;
  color: #1a1a1a;
  text-decoration: none;
  font-size: 0.95em;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.repo-name:hover {
  text-decoration: underline;
}

.repo-stars {
  color: #666;
  font-size: 0.8em;
  font-weight: 400;
  margin-top: auto;
}

.repo-description {
  color: #666;
  font-size: 0.85em;
  margin: 6px 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.repo-language {
  display: inline-block;
  padding: 3px 8px;
  background: white;
  border-radius: 4px;
  font-size: 0.75em;
  color: #666;
  border: 1px solid #e5e5e5;
  margin-top: auto;
}

/* AI Assistance Styling */
.ai-item {
  background: #f0f9ff;
  border-left: 3px solid #3b82f6;
}

.ai-item:hover {
  background: white;
  border-left-color: #2563eb;
}

.ai-bar-fill {
  background: #3b82f6;
}

/* Services Styling */
.service-item {
  background: #f0fdf4;
  border-left: 3px solid #10b981;
}

.service-item:hover {
  background: white;
  border-left-color: #059669;
}

.service-bar-fill {
  background: #10b981;
}

/* Social Section */
.social-section {
  margin-top: 40px;
}

.social-section h2 {
  font-size: 1.8em;
  margin-bottom: 30px;
  color: #24292e;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.social-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px;
  background: #fafafa;
  border-radius: 8px;
  border: 1px solid #e5e5e5;
  text-decoration: none;
  color: #1a1a1a;
  transition: all 0.2s ease;
}

.social-card:hover {
  background: white;
  border-color: #d0d0d0;
  transform: translateY(-2px);
}

.social-card img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid #e5e5e5;
  transition: all 0.2s ease;
}

/* User Type Indicators for Social Grid */
.social-card img.authenticated {
  border-color: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.1);
}

.social-card img.scanned {
  border-color: #f59e0b;
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.1);
}

.social-card img.unscanned {
  border-color: #9ca3af;
}

.social-card span {
  font-size: 0.85em;
  font-weight: 500;
  text-align: center;
  word-break: break-word;
}

.empty-state {
  color: #999;
  font-style: italic;
  padding: 20px;
  text-align: center;
}

/* Rescan Section */
.rescan-section {
  margin-top: 40px;
  padding: 20px;
  background: #f6f8fa;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.last-scan-text {
  color: #666;
  font-size: 1em;
  margin: 0;
}

/* Utilities */
.hidden {
  display: none !important;
}

.error {
  text-align: center;
  padding: 80px 20px;
}

.error p {
  font-size: 1.3em;
  color: #d73a49;
  margin-bottom: 20px;
}

#error-message {
  font-size: 1em !important;
  color: #666 !important;
}

/* Fork Connections */
.fork-connections {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fork-connection-item {
  background: #fafafa;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #e5e5e5;
  transition: all 0.2s ease;
}

.fork-connection-item:hover {
  background: white;
  border-color: #d0d0d0;
}

.fork-connection-user {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #1a1a1a;
  font-weight: 500;
  margin-bottom: 12px;
  transition: opacity 0.2s ease;
}

.fork-connection-user:hover {
  opacity: 0.7;
}

.fork-connection-user img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #e5e5e5;
  transition: all 0.2s ease;
}

.fork-connection-user img.authenticated {
  border-color: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.1);
}

.fork-connection-user img.scanned {
  border-color: #f59e0b;
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.1);
}

.fork-connection-user img.unscanned {
  border-color: #9ca3af;
}

.fork-connection-repos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-left: 52px;
}

.fork-repo-tag {
  display: inline-block;
  padding: 6px 12px;
  background: white;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  font-size: 0.85em;
  color: #666;
  font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    padding: 40px 30px;
  }

  .hero h1 {
    font-size: 2.5em;
  }

  .feature-list {
    flex-direction: column;
    gap: 20px;
  }

  .dashboard {
    padding: 30px 20px;
  }

  .header {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .fork-connection-repos {
    padding-left: 0;
  }
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
  backdrop-filter: blur(4px);
}

.modal-content {
  background: white;
  border-radius: 12px;
  max-width: 600px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.2s ease;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px;
  border-bottom: 1px solid #e5e5e5;
}

.modal-header h2 {
  font-size: 1.4em;
  color: #1a1a1a;
  font-weight: 600;
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  font-size: 2em;
  color: #999;
  cursor: pointer;
  padding: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: #f5f5f5;
  color: #1a1a1a;
}

.modal-body {
  padding: 28px;
}

.modal-section {
  margin-bottom: 28px;
}

.modal-section:last-child {
  margin-bottom: 0;
}

.modal-section h3 {
  font-size: 1.1em;
  color: #1a1a1a;
  margin-bottom: 14px;
  font-weight: 600;
}

@media (max-width: 768px) {
  .modal {
    padding: 10px;
  }

  .modal-content {
    max-height: 95vh;
  }

  .modal-header {
    padding: 20px;
  }

  .modal-body {
    padding: 20px;
  }
}

/* Tag Styles */
.tag-user {
  border-radius: 16px !important; /* Rounded corners for user tags */
  position: relative;
}

.tag-system {
  border-radius: 6px !important; /* Squared corners for system (tech) tags */
}

.tag-green {
  background: #dcfce7 !important;
  color: #15803d !important;
  border-color: #86efac !important;
}

.tag-green:hover {
  background: #bbf7d0 !important;
  border-color: #4ade80 !important;
}

.tag-grey {
  background: #f5f5f5 !important;
  color: #666 !important;
  border-color: #e0e0e0 !important;
}

.tag-grey:hover {
  background: #ebebeb !important;
  border-color: #999 !important;
}

.tag-remove {
  background: none;
  border: none;
  color: inherit;
  font-size: 1.2em;
  cursor: pointer;
  padding: 0 0 0 4px;
  margin-left: 4px;
  opacity: 0.6;
  transition: opacity 0.2s ease;
  line-height: 1;
}

.tag-remove:hover {
  opacity: 1;
}

.tags-display {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Social Tabs */
.social-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  border-bottom: 2px solid #f6f8fa;
}

.social-tab {
  background: none;
  border: none;
  padding: 12px 20px;
  font-size: 1em;
  font-weight: 500;
  color: #666;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.social-tab:hover {
  color: #1a1a1a;
  background: #fafafa;
}

.social-tab.active {
  color: #1a1a1a;
  border-bottom-color: #1a1a1a;
}

.social-tab span {
  font-size: 0.9em;
  color: #999;
}

.social-tab.active span {
  color: #666;
}

.social-tab-content {
  display: none;
  padding-top: 8px;
}

.social-tab-content.active {
  display: block;
}

.tag-blue {
  background: #dbeafe !important;
  color: #1e40af !important;
  border-color: #93c5fd !important;
}

.tag-blue:hover {
  background: #bfdbfe !important;
  border-color: #60a5fa !important;
}

/* Profile Stat Buttons */
.profile-stat-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: white;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  text-decoration: none;
  color: #666;
  font-size: 0.9em;
  font-weight: 500;
  transition: all 0.2s ease;
}

.profile-stat-btn span {
  color: #1a1a1a;
  font-weight: 600;
}

.profile-stat-btn:hover {
  background: #fafafa;
  border-color: #1a1a1a;
  color: #1a1a1a;
}

/* Connection Grid */
.connection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.connection-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px;
  background: #fafafa;
  border-radius: 8px;
  border: 1px solid #e5e5e5;
  text-decoration: none;
  color: #1a1a1a;
  transition: all 0.2s ease;
  min-height: 100px;
  justify-content: center;
}

.connection-card:hover {
  background: white;
  border-color: #d0d0d0;
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.connection-card img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #e5e5e5;
  transition: all 0.2s ease;
}

.connection-card img.authenticated {
  border-color: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.1);
}

.connection-card img.scanned {
  border-color: #f59e0b;
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.1);
}

.connection-card img.unscanned {
  border-color: #9ca3af;
}

.connection-card span {
  font-size: 0.8em;
  font-weight: 500;
  text-align: center;
  word-break: break-word;
}

/* Skeleton Loading Animation - Fixes #2 */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

/* AI Stack - Dynamic Sizing */
.ai-stack-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

.tech-tag-small {
  font-size: 0.85em;
  padding: 6px 12px;
}

.tech-tag-medium {
  font-size: 0.95em;
  padding: 8px 16px;
}

.tech-tag-large {
  font-size: 1.1em;
  padding: 10px 20px;
  font-weight: 600;
}

/* AI Tool Tags - Animated Glow */
.ai-tool-tag {
  position: relative;
  animation: subtleGlow 3s ease-in-out infinite;
}

@keyframes subtleGlow {
  0%, 100% {
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.3);
  }
  50% {
    box-shadow: 0 0 16px rgba(59, 130, 246, 0.5);
  }
}

.ai-tool-tag:hover {
  animation: brightGlow 1.5s ease-in-out infinite;
  transform: translateY(-2px);
}

@keyframes brightGlow {
  0%, 100% {
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.5);
  }
  50% {
    box-shadow: 0 0 24px rgba(59, 130, 246, 0.8);
  }
}
