/* =========================================
   SOFTWARE HUB: INDIVIDUAL DETAILS PAGE
   ========================================= */

/* Hero Section */
.soft-hero {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: white;
  padding: 60px 0;
  margin-bottom: 40px;
}

.soft-hero-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  padding: 0 20px;
}

@media (max-width: 768px) {
  .soft-hero-inner {
    flex-direction: column;
    text-align: center;
  }
}

.soft-hero-content {
  flex: 1;
}

.soft-badges {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .soft-badges { justify-content: center; }
}

.soft-badges span {
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-cat {
  background: rgba(99, 102, 241, 0.2);
  color: #818cf8;
  border: 1px solid rgba(99, 102, 241, 0.4);
}

.badge-type {
  background: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.soft-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: #ffffff;
  line-height: 1.2;
}

.soft-vendor {
  font-size: 1.2rem;
  color: #94a3b8;
  margin-bottom: 30px;
}

.soft-hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

@media (max-width: 768px) {
  .soft-hero-actions { flex-direction: column; }
}

.btn-primary {
  background: var(--hub-primary-light);
  color: white;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px 0 rgba(99, 102, 241, 0.39);
}

.btn-primary:hover {
  background: #4f46e5;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.23);
}

.price-starting {
  font-size: 1.1rem;
  color: #cbd5e1;
  font-weight: 500;
}

.soft-hero-visual {
  flex-shrink: 0;
  width: 160px;
  height: 160px;
  background: white;
  border-radius: 20px;
  padding: 15px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.soft-hero-visual img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Two-Column Layout */
.soft-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  padding: 0 20px;
}

@media (max-width: 992px) {
  .soft-layout {
    grid-template-columns: 1fr;
  }
}

/* Main Content Column */
.soft-section {
  background: var(--hub-surface);
  border: 1px solid var(--hub-border);
  border-radius: var(--hub-radius);
  padding: 32px;
  margin-bottom: 30px;
  box-shadow: var(--hub-shadow-sm);
}

.soft-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--hub-text-main);
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 12px;
}

.prose {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #334155;
}
.prose p { margin-bottom: 16px; }
.prose strong { color: var(--hub-text-main); }

/* Pros & Cons Box */
.soft-pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

@media (max-width: 768px) {
  .soft-pros-cons { grid-template-columns: 1fr; }
}

.pros-box, .cons-box {
  background: var(--hub-surface);
  border: 1px solid var(--hub-border);
  border-radius: var(--hub-radius);
  padding: 24px;
  box-shadow: var(--hub-shadow-sm);
}

.pros-box { border-top: 4px solid #16a34a; }
.cons-box { border-top: 4px solid #dc2626; }

.pros-box h3 { color: #16a34a; font-size: 1.25rem; font-weight: 700; margin-bottom: 16px; }
.cons-box h3 { color: #dc2626; font-size: 1.25rem; font-weight: 700; margin-bottom: 16px; }

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

.pros-box li, .cons-box li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.5;
}

.pros-box li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 0;
  color: #16a34a;
  font-weight: bold;
  font-size: 1.1rem;
}

.cons-box li::before {
  content: '✕';
  position: absolute;
  left: 0; top: 0;
  color: #dc2626;
  font-weight: bold;
  font-size: 1.1rem;
}

/* Feature List (Clean checkmarks) */
.feature-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 600px) {
  .feature-list { grid-template-columns: 1fr; }
}
.feature-list li {
  position: relative;
  padding-left: 32px;
  font-size: 1rem;
  color: #334155;
  line-height: 1.5;
}
.feature-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 4px;
  width: 20px; height: 20px;
  background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 20 20" fill="%236366f1" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z" clip-rule="evenodd"/></svg>') no-repeat center center;
}

/* Sidebar Widgets */
.soft-widget {
  background: var(--hub-surface);
  border: 1px solid var(--hub-border);
  border-radius: var(--hub-radius);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--hub-shadow-sm);
}

.soft-widget h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--hub-text-main);
}

.specs-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.specs-list li {
  font-size: 0.95rem;
  color: #475569;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
}
.specs-list li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.specs-list strong {
  display: block;
  color: var(--hub-text-main);
  margin-bottom: 4px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.widget-text {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.6;
}
