:root {
    --primary-color: #1a56db;
    --primary-hover: #1e429f;
    --secondary-color: #f3f4f6;
    --accent-color: #3b82f6;
    --text-color: #1f2937;
    --text-muted: #6b7280;
    --text-light: #ffffff;
    --border-color: #e5e7eb;
    --bg-color: #ffffff;
    --bg-alt: #f9fafb;
    --bg-light-blue: #f0f7ff;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius: 0.375rem;
    --transition: all 0.3s ease;
  }
  
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  html {
    font-size: 16px;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
  }
  
  body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-color);
    background-color: var(--bg-alt);
  }
  
  a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
  }
  
  a:hover {
    color: var(--primary-hover);
  }
  
  img {
    max-width: 100%;
    height: auto;
  }
  
  ul, ol {
    list-style: none;
  }
  
  .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
  }
  
  .hidden {
    display: none !important;
  }
  
  .w-full {
    width: 100%;
  }
  
  /* Buttons */
  .btn {
    display: inline-block;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-radius: var(--radius);
    transition: var(--transition);
    border: none;
  }
  
  .btn-sm {
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
  }
  
  .btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
  }
  
  .btn-primary:hover {
    background-color: var(--primary-hover);
    color: var(--text-light);
  }
  
  .btn-outline {
    border: 1px solid var(--primary-color);
    background-color: transparent;
    color: var(--primary-color);
  }
  
  .btn-outline:hover {
    background-color: rgba(59, 130, 246, 0.05);
    color: var(--primary-color);
  }
  
  .btn-wide {
    width: 100%;
    margin-bottom: 0.75rem;
  }
  
  /* Header */
  .main-header {
    background-color: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
  }
  
  .header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
  }
  
  .logo-link {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--primary-color);
  }
  
  
  .nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
  
  .nav-link {
    font-weight: 500;
    color: var(--text-color);
    display: flex;
    align-items: center;
  }
  
  .nav-link i {
    margin-left: 0.25rem;
    font-size: 0.75rem;
  }
  
  .nav-link:hover {
    color: var(--primary-color);
  }
  
  .dropdown {
    position: relative;
  }
  
  .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 14rem;
    opacity: 0;
    visibility: hidden;
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    transition: all 0.2s ease;
    z-index: 10;
    margin-top: 0.5rem;
  }
  
  .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
  }
  
  .dropdown-menu a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--text-color);
    font-size: 0.875rem;
  }
  
  .dropdown-menu a:hover {
    background-color: var(--secondary-color);
  }
  
  .dropdown-menu .view-all {
    color: var(--primary-color);
  }
  
  .header-actions {
    display: none;
    align-items: center;
    gap: 1rem;
  }
  
  .search-button {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
  }
  
  .search-button:hover {
    color: var(--primary-color);
  }
  
  .mobile-menu-toggle {
    background: transparent;
    border: none;
    color: var(--text-color);
    font-size: 1.25rem;
    cursor: pointer;
  }
  
  .mobile-nav {
    background-color: var(--bg-color);
    padding: 1rem 0;
    border-top: 1px solid var(--border-color);
  }
  
  .mobile-menu-item {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-color);
    font-weight: 500;
    border-radius: var(--radius);
  }
  
  .mobile-menu-item:hover {
    background-color: var(--secondary-color);
  }
  
  .accordion {
    margin-bottom: 0.5rem;
  }
  
  .accordion-header {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    font-weight: 500;
    color: var(--text-color);
    cursor: pointer;
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .accordion-content {
    display: none;
    padding-left: 1rem;
  }
  
  .accordion-content.active {
    display: block;
  }
  
  .mobile-link {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-color);
  }
  
  .mobile-auth {
    padding: 1rem;
    display: flex;
    gap: 0.5rem;
  }
  
  /* Breadcrumb */
  .breadcrumb {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: var(--text-muted);
    padding: 1.5rem 0;
    flex-wrap: wrap;
  }
  
  .breadcrumb a {
    color: var(--text-muted);
  }
  
  .breadcrumb i {
    width: 1rem;
    height: 1rem;
    margin: 0 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .breadcrumb span {
    font-weight: 500;
    color: var(--text-color);
  }
  
  /* Profile Header */
  .profile-header {
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .profile-header-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }
  
  .profile-logo {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background-color: white;
  }
  
  .profile-title {
    text-align: center;
  }
  
  .profile-title h1 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
  }
  
  .rating-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
  }
  
  .stars {
    color: #facc15;
    display: flex;
    margin-right: 0.5rem;
  }
  
  .review-count {
    font-size: 0.875rem;
    color: var(--text-muted);
  }
  
  .profile-tagline {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 36rem;
    margin: 0 auto;
  }
  
  .profile-header-right {
    display: flex;
    flex-direction: column;
  }
  
  .profile-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .compare-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .compare-btn i {
    margin-right: 0.5rem;
  }
  
  /* Profile Navigation */
  .profile-navigation {
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
    position: sticky;
    top: 4rem;
    z-index: 40;
  }
  
  .profile-nav-tabs {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
  }
  
  .profile-nav-tabs li {
    flex: 1;
    min-width: max-content;
  }
  
  .profile-nav-tabs a {
    display: block;
    padding: 1rem;
    text-align: center;
    color: var(--text-muted);
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
  }
  
  .profile-nav-tabs a:hover {
    color: var(--primary-color);
  }
  
  .profile-nav-tabs a.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
  }
  
  /* Profile Content */
  .profile-content-wrapper {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
    margin-bottom: 3rem;
  }
  
  .profile-section {
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .section-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
  }
  
  /* FAQ Section */
.faq-section,
.blog-section,
.popular-software-section {
  padding: 3rem 0;
  background-color: var(--bg-alt);
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-question {
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: none;
  width: 100%;
  background: none;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-color);
  text-align: left;
  transition: color 0.3s ease;
}

.faq-question:hover,
.faq-question:focus {
  color: var(--primary-color);
  outline: none;
}

.faq-question h3 {
  margin: 0;
  flex: 1;
}

.faq-icon {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.3s ease, color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--primary-color);
}

.faq-answer {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  padding: 0 1.5rem 1.5rem;
  max-height: 1000px;
}

.faq-answer-content p {
  margin: 0;
  line-height: 1.6;
  color: var(--text-muted);
}
 .faq-item ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-top: 0.5rem;
  }
  .faq-item ul li {
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-size: 0.875rem;
  }
 

@media (max-width: 768px) {
  .faq-section {
    padding: 2rem 1rem;
  }

  .faq-question {
    font-size: 1rem;
    padding: 1rem 1rem;
  }

  .faq-answer-content p {
    font-size: 0.9rem;
  }
}

/* Related Section Styles */
.related-section {
  padding: 3rem 0;
  background-color: var(--bg-alt);
}

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

.related-group {
  margin-bottom: 3rem;
}

.related-group-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.related-group-title i {
  color: var(--primary-color);
  font-size: 1.25rem;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.related-item {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
}

.related-item:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
  border-color: #cbd5e1;
}

.related-item-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}

.related-item-icon {
  width: 48px;
  height: 48px;
  background-color: #eff6ff;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3b82f6;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.related-item-info {
  flex: 1;
}

.related-item-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.related-item-title a {
  color: var(--text-color);
  text-decoration: none;
  transition: var(--transition);
}

.related-item-title a:hover {
  color: var(--primary-color);
}

.related-item-type {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

.related-item-action {
  flex-shrink: 0;
}

.related-item-action .btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

/* Missing Alternative CTA */
.missing-alternative-cta {
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  border: 1px solid #cbd5e1;
  border-radius: var(--radius);
  padding: 2rem;
  margin-top: 2rem;
  color: var(--text-color);
}

.missing-cta-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.missing-cta-icon {
  width: 64px;
  height: 64px;
  background-color: #dbeafe;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
  color: var(--primary-color);
}

.missing-cta-text {
  flex: 1;
}

.missing-cta-text h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.missing-cta-text p {
  font-size: 1rem;
  margin: 0;
  color: var(--text-muted);
}

.missing-cta-action {
  flex-shrink: 0;
}

.missing-cta-action .btn {
  background-color: var(--primary-color);
  color: var(--text-light);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border: none;
}

.missing-cta-action .btn:hover {
  background-color: var(--primary-hover);
  color: var(--text-light);
}

/* Modal Popup Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
  backdrop-filter: blur(2px);
}

.modal-container {
  background-color: #ffffff;
  border-radius: var(--radius);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  border: 1px solid #e2e8f0;
}

.modal-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f8fafc;
  border-radius: var(--radius) var(--radius) 0 0;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.modal-title i {
  color: #3b82f6;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #64748b;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--radius);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.modal-close:hover {
  background-color: #f1f5f9;
  color: #334155;
}

.modal-body {
  padding: 2rem;
  background-color: #ffffff;
}

.modal-intro {
  margin-bottom: 2rem;
  padding: 1rem;
  background-color: #f0f9ff;
  border-radius: var(--radius);
  border-left: 4px solid #3b82f6;
}

.modal-intro p {
  margin: 0;
  color: #1e293b;
  line-height: 1.6;
}

/* Form Styles */
.suggestion-form {
  display: block;
}

.form-row {
  margin-bottom: 1.5rem;
}

.form-group {
  position: relative;
}

.form-label {
  display: block;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-label i {
  color: var(--primary-color);
  width: 16px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: var(--radius);
  font-size: 1rem;
  transition: var(--transition);
  background-color: #ffffff;
  color: #1f2937;
}
option {
  background-color: #fff;
  border-color: #4b5563;
  color: #f9fafb;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.05);
  background-color: #fefefe;
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
  font-family: inherit;
}

.form-help {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.form-error {
  font-size: 0.75rem;
  color: #dc2626;
  margin-top: 0.25rem;
  display: none;
}

.form-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

/* Success and Loading Messages */
.success-message,
.loading-message {
  text-align: center;
  padding: 2rem;
}

.success-message {
  display: none;
}

.success-icon {
  width: 80px;
  height: 80px;
  background-color: #10b981;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 2.5rem;
}

.success-message h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 1rem;
}

.success-message p {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.loading-message {
  display: none;
}

.loading-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid var(--border-color);
  border-top: 4px solid var(--primary-color);
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading-message p {
  color: var(--text-muted);
  font-size: 1rem;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .related-grid {
    grid-template-columns: 1fr;
  }

  .related-item {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .related-item-content {
    flex-direction: column;
    text-align: center;
  }

  .missing-cta-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .missing-cta-text h3 {
    font-size: 1.25rem;
  }

  .modal-container {
    margin: 1rem;
    max-height: calc(100vh - 2rem);
  }

  .modal-header {
    padding: 1rem 1.5rem;
  }

  .modal-body {
    padding: 1.5rem;
  }

  .modal-title {
    font-size: 1.25rem;
  }

  .form-actions {
    flex-direction: column-reverse;
  }

  .form-actions .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .modal-overlay {
    padding: 0.5rem;
  }

  .modal-header {
    padding: 1rem;
  }

  .modal-body {
    padding: 1rem;
  }

  .related-section {
    padding: 2rem 0;
  }

  .related-content {
    padding: 0 0.5rem;
  }

  .missing-alternative-cta {
    padding: 1.5rem;
    margin: 1rem 0.5rem 0;
  }
}

/* Alternatives Page Layout */
.alternatives-content-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.alternatives-main {
  background-color: var(--bg-color);
  border-radius: var(--radius);
  padding: 0;
}

.alternatives-sidebar {
  background-color: var(--bg-color);
  border-radius: var(--radius);
  padding: 1.5rem;
  height: fit-content;
  position: sticky;
  top: 5rem;
}

/* Page Header Styles */
.page-header {
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

.page-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 1rem;
}

.page-header .page-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Alternatives Intro Section */
.alternatives-intro {
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 2rem;
}

.alternatives-intro h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 1rem;
}

.alternatives-intro p {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.alternatives-intro p:last-child {
  margin-bottom: 0;
}

/* Compare Table Section */
.compare-section {
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 2rem;
}

.compare-section h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 1.5rem;
}

.compare-table-wrapper {
  overflow-x: auto;
  margin-bottom: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--bg-color);
}

.compare-table th,
.compare-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
  vertical-align: top;
}

.compare-table th {
  background-color: var(--bg-alt);
  font-weight: 600;
  color: var(--text-color);
  position: sticky;
  top: 0;
  z-index: 10;
}

.compare-table tr:last-child td {
  border-bottom: none;
}

.software-cell {
  min-width: 200px;
}

.software-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.software-logo {
  width: 60px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 0.5rem;
}

.software-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.software-name {
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 0.25rem;
}

.software-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.stars {
  display: flex;
  color: #facc15;
}

.review-count {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Detailed Alternatives Section */
.detailed-alternatives-section {
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 2rem;
}

.detailed-alternatives-section h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 1.5rem;
}

.alternative-detail {
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 2rem;
  background-color: var(--bg-alt);
}

.alternative-detail:last-child {
  margin-bottom: 0;
}

.alternative-header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.alternative-logo-large {
  width: 120px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1rem;
  align-self: center;
}

.alternative-logo-large img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.alternative-meta {
  text-align: center;
}

.alternative-meta h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.alternative-summary {
  color: var(--text-muted);
  margin: 0.5rem 0 1rem;
  font-size: 1rem;
}

.alternative-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.alternative-description h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 1rem;
}

.alternative-description p {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.feature-list {
  margin: 1.5rem 0;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.75rem;
  color: var(--text-muted);
}

.feature-list li i {
  color: #10b981;
  margin-right: 0.75rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.pros-cons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.pros h5,
.cons h5 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.pros h5 {
  color: #10b981;
}

.cons h5 {
  color: #ef4444;
}

.pros ul,
.cons ul {
  list-style: none;
  padding: 0;
}

.pros ul li,
.cons ul li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

.pros ul li i {
  color: #10b981;
  margin-right: 0.75rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.cons ul li i {
  color: #ef4444;
  margin-right: 0.75rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

/* Feature Comparison Section */
.feature-comparison-section {
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 2rem;
}

.feature-comparison-section h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 1.5rem;
}

.feature-comparison-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
}

.feature-comparison-table th,
.feature-comparison-table td {
  padding: 0.75rem 1rem;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
}

.feature-comparison-table th {
  background-color: var(--bg-alt);
  font-weight: 600;
  color: var(--text-color);
}

.feature-comparison-table th:last-child,
.feature-comparison-table td:last-child {
  border-right: none;
}

.feature-comparison-table tr:last-child td {
  border-bottom: none;
}

.feature-name {
  text-align: left !important;
  font-weight: 500;
}

.text-green-500 {
  color: #10b981;
}

.text-yellow-500 {
  color: #f59e0b;
}

.text-red-500 {
  color: #ef4444;
}

/* How to Choose Section */
.how-to-choose-section {
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 2rem;
}

.how-to-choose-section h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 1.5rem;
}

.steps-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.step {
  display: flex;
  gap: 1rem;
}

.step-number {
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--primary-color);
  color: var(--text-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.125rem;
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.step-content p {
  color: var(--text-muted);
  line-height: 1.6;
}

/* Load More Button */
.load-more-container {
  text-align: center;
  margin-top: 2rem;
}

.load-more-btn {
  background-color: var(--primary-color);
  color: var(--text-light);
  border: none;
  padding: 0.75rem 2rem;
  border-radius: var(--radius);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.load-more-btn:hover {
  background-color: var(--primary-hover);
}

.load-more-btn:disabled {
  background-color: var(--text-muted);
  cursor: not-allowed;
}

/* Responsive Design for Alternatives Page */
@media (min-width: 768px) {
  .alternatives-content-wrapper {
    grid-template-columns: 2fr 1fr;
  }

  .alternative-header {
    flex-direction: row;
    align-items: center;
  }

  .alternative-logo-large {
    align-self: flex-start;
  }

  .alternative-meta {
    text-align: left;
    flex: 1;
  }

  .alternative-actions {
    justify-content: flex-start;
  }

  .pros-cons {
    grid-template-columns: 1fr 1fr;
  }

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

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

@media (max-width: 767px) {
  .page-header h1 {
    font-size: 2rem;
  }

  .page-header .page-subtitle {
    font-size: 1.125rem;
  }

  .compare-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .compare-table {
    min-width: 600px;
  }

  .feature-comparison-table {
    min-width: 600px;
  }

  .alternatives-sidebar {
    position: static;
    margin-top: 2rem;
  }

  .alternative-actions {
    flex-direction: column;
  }

  .alternative-actions .btn {
    width: 100%;
  }
}
/* Feature Comparison Table Styles */
  .feature-comparison-section {
    margin-bottom: 3rem;
  }
  
  .feature-comparison-table {
    width: 100%;
    border-collapse: collapse;
  }
  
  .feature-comparison-table th,
  .feature-comparison-table td {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    text-align: center;
    vertical-align: middle;
  }
  
  .feature-comparison-table th {
    background-color: var(--bg-alt);
    font-weight: 600;
  }
  
  .feature-name {
    text-align: left;
    font-weight: 500;
  }
  
  .text-green-500 {
    color: #10b981;
  }
  
  .text-yellow-500 {
    color: #f59e0b;
  }
  
  .text-red-500 {
    color: #ef4444;
  }
  
  .feature-comparison-legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
  }
  
  .legend-item {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
  }
  
  .legend-item i {
    margin-right: 0.5rem;
  }
/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .modal-overlay {
    background-color: rgba(0, 0, 0, 0.8);
  }

  .modal-container {
    background-color: #1f2937;
  }

  .modal-header {
    background-color: #111827;
    border-bottom-color: #374151;
  }

  .modal-title {
    color: #f9fafb;
  }

  .modal-close:hover {
    background-color: #374151;
    color: #f9fafb;
  }

  .modal-intro {
    background-color: #eee;
    border-left-color: #3b82f6;
  }
.social-link {
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
  .form-input,
  .form-select,
  .form-textarea {
    background-color: #fff;
    border-color: #4b5563;
    /*color: #f9fafb;*/
    color: #1f2937;
  }
option {
   background-color: #fff;
    border-color: #4b5563;
    color: #f9fafb;
}
  .form-input:focus,
  .form-select:focus,
  .form-textarea:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
  }

  .related-item-icon {
    background-color: #1e3a8a;
  }

  .loading-spinner {
    border-color: #4b5563;
    border-top-color: #3b82f6;
  }

  .alternative-detail {
    background-color: #fff;
    border-color: #374151;
  }
}
