/* ══════════════════════════════════════════════
   APP SUBSCRIPTION PAGES — ElfAi Design System
   ══════════════════════════════════════════════ */

/* ─── Subscription Card ─── */
.sub-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 20px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.sub-card:hover {
  border-color: rgba(255, 107, 74, 0.3);
  box-shadow: 0 0 30px rgba(255, 107, 74, 0.05);
}

.sub-card--popular {
  border-color: rgba(255, 107, 74, 0.4);
  background: linear-gradient(135deg, var(--surface) 0%, rgba(255, 107, 74, 0.03) 100%);
}

/* Badge */
.sub-badge {
  position: absolute;
  top: -10px;
  right: 20px;
  background: linear-gradient(135deg, var(--orange), #ff8f70);
  color: #000;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.sub-badge--green {
  background: linear-gradient(135deg, #10B981, #34D399);
}

/* Card Header */
.sub-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.sub-icon {
  font-size: 36px;
  line-height: 1;
}

.sub-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  margin: 0;
  letter-spacing: -0.3px;
}

.sub-type {
  font-size: 13px;
  color: var(--muted);
  margin: 4px 0 0;
  font-weight: 500;
}

/* Detail Rows */
.sub-details {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
}

.sub-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.sub-detail-row:last-child {
  border-bottom: none;
}

.sub-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.sub-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

/* Features */
.sub-features h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 12px;
}

.sub-features ul {
  padding-left: 0;
  list-style: none;
  margin: 0;
}

.sub-features li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.sub-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--orange);
  font-weight: 700;
  font-size: 13px;
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
}

/* ─── Legal Links Grid ─── */
.legal-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
}

.legal-link-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  text-decoration: none;
  transition: border-color 0.3s ease, transform 0.2s ease;
}

.legal-link-card:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
}

.legal-link-icon {
  font-size: 24px;
  line-height: 1;
}

.legal-link-text {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

/* ─── Responsive ─── */
@media (max-width: 600px) {
  .legal-links-grid {
    grid-template-columns: 1fr;
  }

  .sub-card {
    padding: 20px;
  }

  .sub-card-header {
    gap: 12px;
  }

  .sub-icon {
    font-size: 28px;
  }

  .sub-title {
    font-size: 16px;
  }

  .sub-detail-row {
    padding: 12px 14px;
  }
}
